import request from '@/utils/request'

// 查询园区过卡记录列表
export function listParkGather(query) {
  return request({
    url: '/park/parkGather/list',
    method: 'get',
    params: query
  })
}

// 查询园区过卡记录详细
export function getParkGather(id) {
  return request({
    url: '/park/parkGather/getInfo/' + id,
    method: 'get'
  })
}

// 新增园区过卡记录
export function addParkGather(data) {
  return request({
    url: '/park/parkGather/add',
    method: 'post',
    data: data
  })
}

// 修改园区过卡记录
export function updateParkGather(data) {
  return request({
    url: '/park/parkGather/edit',
    method: 'post',
    data: data
  })
}

// 删除园区过卡记录
export function delParkGather(id) {
  return request({
    url: '/park/parkGather/remove/' + id,
    method: 'get'
  })
}

// 导出园区过卡记录
export function exportParkGather(query) {
  return request({
    url: '/park/parkGather/export',
    method: 'get',
    params: query
  })
}